//package com.jl.core.netty;
//
//import java.util.concurrent.LinkedBlockingQueue;
//import java.util.concurrent.ThreadPoolExecutor;
//import java.util.concurrent.TimeUnit;
//
//public class StartNettyPool {
//
//    public void start(){
//        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(2,8,0L, TimeUnit.MILLISECONDS,new LinkedBlockingQueue<Runnable>());
//        threadPoolExecutor.execute(new Runnable() {
//            @Override
//            public void run() {
//                try {
//                    new NettyServer(8888).start();
//                } catch (Exception e) {
//                    e.printStackTrace();
//                }
//            }
//        });
//    }
//}
